package edu.uta.components;

import android.graphics.drawable.Drawable;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

/**
 *  @author fall 2011 team5
 *   //reference https://github.com/galex/android-mapviewballoons/blob/master/
 */
public class BalloonOverlayItem extends OverlayItem {
	/**
	 * @uml.property  name="image"
	 * @uml.associationEnd  multiplicity="(1 1)"
	 */
	private Drawable image ;
	
	private Drawable imageForecast;
	
	public Drawable getImageForecast() {
		return imageForecast;
	}


	public void setImageForecast(Drawable imageForecast) {
		this.imageForecast = imageForecast;
	}
	private String forecast;
	
	private String forecastdesc;
	
	

	public String getForecastdesc() {
		return forecastdesc;
	}


	public void setForecastdesc(String forecastdesc) {
		this.forecastdesc = forecastdesc;
	}


	public String getForecast() {
		return forecast;
	}


	public void setForecast(String forecast) {
		this.forecast = forecast;
	}


	

	public BalloonOverlayItem(GeoPoint arg0, String arg1, String arg2,Drawable d) {
		super(arg0, arg1, arg2);
		this.image=d;
	}
	
	public BalloonOverlayItem(GeoPoint arg0, String title, String snippet,String forecast,String foreDesc,Drawable d, Drawable image) {
		super(arg0, title, snippet);
		this.image=d;
		this.forecast=forecast;
		this.forecastdesc=foreDesc;
		this.imageForecast=image;
		
	}
	
	
	/**
	 * @return
	 * @uml.property  name="image"
	 */
	public Drawable getImage() {
		return image;
	}
	/**
	 * @param  image
	 * @uml.property  name="image"
	 */
	public void setImage(Drawable image) {
		this.image = image;
	}

}
